import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { SfProdMngComponent } from './sf-prod-mng/sf-prod-mng.component';
import { SfProdInfoComponent } from './sf-prod-info/sf-prod-info.component';
import { SfDangerComponent } from './sf-danger/sf-danger.component';
import { SfCheckComponent } from './sf-check/sf-check.component';
import { SfStandardizedComponent } from './sf-standardized/sf-standardized.component';


const routes: Routes = [
    {
        path: '',
        children: [
            {path: '', redirectTo: '/map', pathMatch: 'full'},
            {path: 'prod-mng', component: SfProdMngComponent},
            {path: 'prod-info', component: SfProdInfoComponent},
            {path: 'sf-danger', component: SfDangerComponent},
            {path: 'sf-check', component: SfCheckComponent},
            // {path: 'standardized', component: SfStandardizedComponent}
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class SafetyProductionRoutingModule {
}
